#pragma once

/*
<FLPT_Language>
</FLPT_Language>
*/

#include <vector>
using namespace std;

struct LanguageMap
{
	LanguageMap(const CString& id,const CString& description)
		:ID(id)
		,Description(description){}
	
	CString ID;
	CString Description;
};

class FLPT_Language_Map
{
public:
	static size_t GetSize();
	static CString GetID(int i);
	static CString GetDescription(int i);
private:
	static FLPT_Language_Map& GetInstance();
	FLPT_Language_Map(void);
	~FLPT_Language_Map(void);
	BOOL Load(const CString& pathLanguageMap);
	BOOL Save(const CString& pathLanguageMap);
	CString m_pathLanguageMap;

	vector<LanguageMap> vLanguageMap;
};
